﻿<!DOCTYPE html PUBLIC "-//W3C//DTD html 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="EN">
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" href="css/style.css">
<div ID="overDiv" STYLE="position:absolute; visibility:hidden; z-index:1;"></div>
<script Language="JavaScript" src="../pub_Calendar.js"></script>
<title>采购计划一览表</title>
<SCRIPT LANGUAGE=javascript>
    function select_check(theForm)
      {
        var count=0;
        for (var k = 0; k < theForm.length; k++)
        if ((theForm[k].type == "checkbox") && (theForm[k].checked))
        count++;
         if (count==0)
         {
            for (k = 0; k < theForm.length; k++)
            {
              if (theForm[k].type == "checkbox")
              theForm[k].checked=true;
            }
         }
         else
         {
            for (k = 0; k < theForm.length; k++)
            {
              if (theForm[k].type == "checkbox")
              theForm[k].checked=false;
            }
         }
      }
      
      function submit_Checkform(theForm,i)
      {
        var count=0;
        for (var k = 0; k < theForm.length; k++)
        if ((theForm[k].type == "checkbox") && (theForm[k].checked))
        count++;
        if (count==0)
        {
          alert("提示信息：\n请选择采购计划。");
          return;
        }
         document.form.p_type.value=i;
         window.document.form.submit();
	
         return true;
      }      
      function submit_form(theForm,i)
      {
        var count=0;
        for (var k = 0; k < theForm.length; k++)
        if ((theForm[k].type == "radio") && (theForm[k].checked))
        count++;
        if (count==0)
        {
          alert("提示信息：\n请选择采购计划。");
          return;
        }
        if (i==3)
        {
          form.action="../Enquire/Enquire_form.asp";
        }
        if (i==6)
        {
          form.action="../Bidding/bidding_add.asp";
        }
         document.form.p_type.value=i;
         //window.document.form.submit();
	 window.location.href="xjfatz_xjfamx.html";
         return true;
      }
      function submit_form_cx()
      {
        form.action="Project_list.asp";
        window.document.form.submit();
      }
	  
	   function getLen(){
		 obj01=document.getElementById("table1");
	 	cGetRow=window.event.srcElement.parentElement.parentElement.rowIndex;
	 }
	  function delData(){
	 	var obj = document.getElementById("p_orderno");
	 	if(obj.checked){
			obj01.deleteRow(cGetRow);
		}else{
			alert("请选择要删除的数据！");
		}
	 }
</SCRIPT>
</head>
<body>
<center>
<form name=form action="#" method="post">
<input type="hidden" name="p_type" value="3">

<TABLE style="LINE-HEIGHT: 30px" cellSpacing=1 cellPadding=0     width="100%"  bgColor=#336699 borderColorLight=#006699 border=0>
<tr>
<td>
<table cellpadding="3" cellspacing="1" border="0" width="100%" id="table1">
<tr bgcolor="#ffffff"> 
    <td width="100%" colspan="20" bgcolor="#ffffff" align=center height=22><b><h2><font  color=#0070C0 >未下达采购计划一览表</font></h2></b>
<a href="javascript:void(null)" onClick="window.open('../help/Help.asp?Value=未审批采购计划一览表','child','status=NO,scrollbars=yes,toolbar=no,menubar=no,location=no,left=200,top=100,width=700,height=400')" ><img alt="帮助" src="css/help_a.gif" border="0"></a>
</td>
</tr>

<TR Height=35>
<td align="center" class=t2 colspan=8 >
 
   <input type=button value="打开" onClick="submit_form(document.form,1)" >
   <input type=button value="下达" onClick="delData();" >
   <input type=button value="返回" onClick=" javascript:history.back()">
</TD>
</TR>

    <tr class="t1">
    <td nowrap align="center">选择</td>
    <td nowrap align="center">序号</td>
    <td nowrap align="center">采购计划名称</td>
    <td nowrap align="center">采购类型</td>
    <td nowrap align="center">采购进度</td>
    <td nowrap align="center">采购计划下达时间</td>
    <td nowrap align="center">计划报价截止时间</td>
    <td nowrap align="center">对应询价书</td>
    </tr>

    <tr class="t2">
    
    <td align=center><input type="radio" name="p_orderno" value="1000201001251761" onClick="getLen();"></td>
    
    <td >1</td>
    <td >天下无贼<br></td>
    <td >制造中心采购公开求购<br></td>
    <td ><a href="javascript:openwindown('../Order/work_log.asp?p_code=1000201001251761&p_type=2')">采购计划未下达</a><br></td>
	<td></td>    
    <td >2010/01/09 00:00<br></td>

       <td ><br></td>

    </tr>

</table></td></tr></table>

<input type="hidden" name="p_listtype" value="3">
<p align=center>

</p>
</form>
</center>
</body>
</html>




